home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nbapi.zip / NB_API.H < prev    next >
C/C++ Source or Header  |  1991-06-20  |  848b  |  26 lines

  1. /**************************************/
  2. /*     Header for NB_API.C            */
  3. /**************************************/
  4.  
  5. /* Include Files */
  6. #include <netbios.h>
  7.  
  8. /* Function Prototypes */
  9. void print_ncb(struct NCB ncb);
  10. void reset(unsigned char lsn, unsigned char name_num);
  11. int check_nb_install(void);
  12. struct NCB add_name(char *name);
  13. struct NCB del_name(char *name);
  14. struct NCB nb_request(struct NCB ncb);
  15. struct NCB call(char *loc_name, char *rem_name, unsigned timeout);
  16. struct NCB listen(char *rem_name, char *loc_name, unsigned timeout);
  17. struct NCB hang_up(unsigned char target_lsn);
  18. struct NCB send(char *buffer, unsigned int length, unsigned char session_lsn);
  19. struct NCB receive(char *buffer, unsigned int length, unsigned char session_lsn);
  20.  
  21. /* Structures */
  22. struct MSG {
  23.     char cmd[20];
  24.     char text[4000];
  25.     };
  26.